package com.xmhmyh.generalframework.common.constants;

import io.jsonwebtoken.Claims;

/**
 * 通用常量信息
 *
 * @author ruoyi
 */
public class Constants {
    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * 登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login-tokens:";
    /**
     * 令牌前缀
     */
    public static final String LOGIN_USER_KEY = "login-user-key";
    /**
     * 超级管理员角色名称
     */
    public static final String SUPER_ROLE_NAME = "ADMIN";
    /**
     * H5角色名称
     */
    public static final String H5_ROLE_NAME = "H5";
    /**
     * 店铺内角色
     */
    public static final String SHOPMANAGE = "SHOPMANAGE";
    /**
     * Layout组件标识
     */
    public final static String LAYOUT = "Layout";
    /**
     * 排序key
     **/
    public final static String ORDERMAP = "orderMap";

    /**
     * 默认密码
     **/
    public final static String DEFAULT_PASSWORD = "888888";

    /**
     * 超级管理员accountId
     **/
    public final static Long SUPER_ACCOUNT_ID = 1L;
    public final static Long SUPER_USER_ID = 1L;
    /**
     * 超级管理员用户名
     **/
    public final static String SUPER_USER_NAME = "admin";

    /**
     * 主目录menuId
     **/
    public final static Long MAIN_MENU_ID = 0L;

}
